package com.kc.stand.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 老杜
 * @since 2019-12-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("stand_fine_list")
public class StandFileList implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 站细列表Id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 车站Id
     */
    private Integer sid;

    /**
     * 文件编号
     */
    private String fileCode;

    /**
     * 文件标题
     */
    private String fileTitle;

    /**
     * 公司名称
     */
    private String companyName;

    /**
     * 日期
     */
    private Date createDate;

    /**
     * 文档名称
     */
    private String documentName;

    /**
     * 修订日期
     */
    private Date modifyDate;
    /**
     * 是否已同步
     */
    private Integer standStatus;
    /**
     * 修订人Id
     */
    private Integer modifyPerson;
    @TableField(exist = false)
    private String stationName;
    /**
     * 修订人姓名
     */
    @TableField(exist = false)
    private String modifyPersonName;

    /**
     * 修改次数
     */
    private Integer frequency;

    @Override
    public String toString() {
        return "StandFileList{" +
                "id=" + id +
                ", sid=" + sid +
                ", fileCode='" + fileCode + '\'' +
                ", fileTitle='" + fileTitle + '\'' +
                ", companyName='" + companyName + '\'' +
                ", createDate=" + createDate +
                ", documentName='" + documentName + '\'' +
                ", modifyDate=" + modifyDate +
                ", standStatus=" + standStatus +
                ", modifyPerson=" + modifyPerson +
                ", stationName='" + stationName + '\'' +
                ", modifyPersonName='" + modifyPersonName + '\'' +
                ", frequency=" + frequency +
                '}';
    }
}
